const http = require("http");
http.createServer(function(request,responese) {
    responese.writeHead(200,{"Content-type":"text plain"});
http.get("http://hq.sinajs.cn/list=sh600066",(data)=>{
    //nodejs去请求第三方接口,不存在跨域
    console.log(data)

})

    responese.end("hello world\n");
}).listen(3000)



